package com.warehouse_management.purchase.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.warehouse_management.login.model.Users;
import com.warehouse_management.system.model.City;
import com.warehouse_management.system.model.Job;
import com.warehouse_management.system.model.Province;
import com.warehouse_management.login.model.Users;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("C_FIRM")
public class FirmCondition {

    private String firmId;
    private String firmName;
    private String firmTel;
    private String firmAddress;
    private String firmContent;
    private String firmCity;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private String createId;
    private String status;
    private String firmFounder;

    //  连小龙
    private String pName;
    private String c_Name;
    private String creatName;
    private City city;
    private Users users;
    private Job job;
    private Province province;
}
